/*
 * my_obs.h
 *
 *  Created on: Aug 12, 2010
 *      Author: sdaniele
 */

#ifndef MY_OBS_H_
#define MY_OBS_H_

#include "tbb/task_scheduler_observer.h"

namespace pilot {

class my_obs : public ::tbb::task_scheduler_observer{
public:
	my_obs();
	virtual ~my_obs();


	virtual void on_scheduler_entry( bool is_worker );
	virtual void on_scheduler_exit( bool is_worker );
};

}

#endif /* MY_OBS_H_ */
